home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d12
/
jazlib.arc
/
JZKEYPRS.ASM
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Assembly Source File
|
1988-12-18
|
283 b
|
17 lines
assume cs:_text
_text segment public byte 'code'
public _jzkeyprs
_jzkeyprs proc near
mov ah,1
int 16h ; get key status
mov ax,1 ; assume key pressed
jnz exit ; report char ready
mov ax,0 ; report no char ready
exit:
ret
_jzkeyprs endp
_text ends
end